let {detailmsgTable}=require("./detailmsgTable")

module.exports={
    findDetailmsg(req,res){
        let mId=req.body
        console.log()
        detailmsgTable.find({
            mId:Object.keys(mId)[0]
        }).then(result=>{
            res.send(result)
        })
    }
}